package com.hzncc.flowable_diboot.custom_field.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class CustomFieldException extends RuntimeException {
    private Integer code;

    private String message;

    public CustomFieldException(){

    }

    public CustomFieldException(String message){
        this.message = message;
    }

    public CustomFieldException(Integer code, String message){
        this.code = code;
        this.message = message;
    }
}
